<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*,zpin.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看公司招聘信息</title>
</head>
<body>

<s:form action="tocreateengage" method="post">
<s:submit value="继续发布新招聘信息" />
</s:form>

<c:forEach items="${engagelist}" var="engage" varStatus="status">
<hr />
<a href="voteresume.action?id=${engage.id}">投递简历</a>
<br />
招聘职位:${engage.name}
<br />
公司地址:${engage.address}
<br />
公司电话:${engage.tel}
<br />
联系人:${engage.contectperson}
<br />
城市:${engage.city.name}
<br />
类型:${engage.type.name}
<br />
描述信息:${engage.information}
<br />
<a href="updateengage.action?id=${engage.id}">修改</a>
<a href="deleteengage.action?id=${engage.id}" onclick="return confirm('确定删除吗?')">删除</a>
	<hr />
	<s:hidden name="engage.id" />
</c:forEach>

<a href="?pagination.no=1">首页</a>
<s:if test="pagination.previous">
<a href="?pagination.no=${pagination.no-1}">上一页</a>
</s:if>
<s:if test="pagination.next">
<a href="?pagination.no=${pagination.no+1}">下一页</a>
</s:if>
<a href="?pagination.no=${pagination.pageSum}">末页</a>

<s:form action="searchengage" method="post">
<s:textfield label="搜索要查找的招聘信息" name="target" />
<s:submit value="开始搜索" />
</s:form>

</body>
</html>